package com.jingdianjichi.user.convert;

import com.jingdianjichi.user.entity.po.SysUserPo;
import com.jingdianjichi.user.entity.req.SysUserReq;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;

@Mapper
public interface SysUserConverter {

    SysUserConverter INSTANCE = Mappers.getMapper(SysUserConverter.class);

//    @Mapping(source = "age",target = "age1")
    SysUserPo convertReqToPo(SysUserReq sysUserReq);
}
